package com.manage.service;

import java.util.HashMap;
import java.util.List;

import com.manage.model.User;

public interface UserService {
	public List<User> listAllUsers();
	public void deleteUser(Integer userid);
	public boolean addUser(User user);
	public User selectUser(User user);
	public User selectByPrimaryKey(Integer userid);
	public User updateUser(User user);
	public void updateByPrimaryKey(User user);
	
	public List<HashMap<String, Object>> countByCategory(HashMap<String, Object> map);
}
